package com.trainbook.entity.DTO;

import com.trainbook.entity.Site;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: Dempsey
 * @Date: 2020/12/7 02:10
 * @Description:
 */
@Data
@ApiModel(value = "ShowTrainListDTO", description = "用于接受查询车次的条件")
public class TrainListDTO {

    @ApiModelProperty(value = "查询种类", notes = "nothing是什么条件都没有的，normal是最普通的")
    private String type;

    @ApiModelProperty(value = "开始站点")
    private Integer startSiteId;

    @ApiModelProperty(value = "结束站点")
    private Integer endSiteId;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "途径站点")
    private List<Site> middleSiteList;

}
